package com.niiwoo.civet.trade.service.dubbo.fund;

import com.alibaba.dubbo.config.annotation.Service;
import com.niiwoo.civet.trade.service.fund.FundJobDubboService;
import com.niiwoo.civet.trade.service.local.fund.FundRepaymentService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 资金端 job dubbo 服务实现
 * @author lichuanzhi
 * @date 2018/01/26
 */

@Slf4j
@Service(version = "1.0.0")
public class FundJobDubboServiceImpl implements FundJobDubboService{
    @Autowired
    private FundRepaymentService fundRepaymentService;

    @Override
    public void autoUpdatePenaltyAndProjectStatus() {
        fundRepaymentService.sendWaitingUpdateUserid();
    }
}
